/*
 * @Author: your name
 * @Date: 2020-09-07 09:57:00
 * @LastEditTime: 2020-09-07 10:03:00
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \tinkjsDemo\antd-vue-pro\tests\demo\jstest.js
 */
var fullname='name1';
var obj={
    fullname:'name2',
    prop:{
        fullname:'name3',
        getFullname:function(){
            return this.fullname;
        }
    }
}

console.log(obj.prop.getFullname());
var test = obj.prop.getFullname;
console.log(test());

console.log(fullname);

console.log(this.fullname);

console.log(this.fullname == fullname);